package cn.gjxblog.api;



import cn.gjxblog.common.model.HttpResult;
import cn.gjxblog.model.vo.UserVO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author gjx
 * @version v1.0
 * @Description
 * @date 2018/12/13 14:24
 */
@FeignClient(value = "city-server")
public interface CityServerFegin {

    @PostMapping("/add")
    HttpResult add(@RequestBody UserVO user);
}
